@charset "utf-8";
@import "./global"; /*引入配置*/
@mixin font-color($color) {
  color: $color; //默认时的color
  [data-theme="theme-one"] & {
    color: $font-color-theme1 !important;
  }
  [data-theme="theme-two"] & {
    color: $font-color-theme2 !important;
  }
  [data-theme="theme-three"] & {
    color: $font-color-theme3 !important;
  }
}

@mixin bg-color($color) {
  background-color: $color; //默认时的color
  [data-theme="theme-one"] & {
    background-color: $background-color-theme1;
  }
  [data-theme="theme-two"] & {
    background-color: $background-color-theme2;
  }
  [data-theme="theme-three"] & {
    background-color: $background-color-theme3;
  }
}

@mixin bg-linear-gradient($color) {
  background: $color; //默认时的color
  [data-theme="theme-one"] & {
    background: $bg-linear-gradient-theme1;
  }
  [data-theme="theme-two"] & {
    background: $bg-linear-gradient-theme2;
  }
  [data-theme="theme-three"] & {
    background: $bg-linear-gradient-theme3;
  }
}

@mixin bgs-linear-gradient($color) {
  background: $color; //默认时的color
  [data-theme="theme-one"] & {
    background: $bgs-linear-gradient-theme1;
  }
  [data-theme="theme-two"] & {
    background: $bgs-linear-gradient-theme2;
  }
  [data-theme="theme-three"] & {
    background: $bgs-linear-gradient-theme3;
  }
}

@mixin sub-bg-color($color) {
  background-color: $color; //默认时的color
  [data-theme="theme-one"] & {
    background-color: $sub-background-color-theme1;
  }
  [data-theme="theme-two"] & {
    background-color: $sub-background-color-theme2;
  }
  [data-theme="theme-three"] & {
    background-color: $sub-background-color-theme3;
  }
}

@mixin border-color($num, $type, $color) {
  border: $num $type $color; //默认时的
  [data-theme="theme-one"] & {
    border: $num $type $font-color-theme1;
  }
  [data-theme="theme-two"] & {
    border: $num $type $font-color-theme2;
  }
  [data-theme="theme-three"] & {
    border: $num $type $font-color-theme3;
  }
}
